home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-01-28 | 4.3 KB | 102 lines | [ttro/ttxt] |
- What is "Area Properties" and what does it do ?
-
-
- It will do the following;
-
- It will calculate and measure the following properties of any object you load
- from a PICT or PNT document; (Objects can also be imported from the Clipboard.)
-
- 1. CROSS SECTIONAL AREA
- 2. TOTAL SURFACE AREA
- 3. TOTAL PERIMETER
- 4. MOMENT OF INERTIA about the centroidal axis & any axis
- 5. RADIUS OF GYRATION
- 6. VOLUME
- 7. WEIGHT
- 8. MEASURE HEIGHT & WIDTH
- 9. PROVIDES RULER TO OBTAIN LENGTH MEASUREMENTS
- 10. WILL COLLAPSE OBJECT ON BOTH X & Y AXIS
- 11. COUNTS TOTAL OBJECT PIXELS
-
- The object itself and the UNITS, DEPTH, SCALE & MATERIAL are user inputs. They
- can be made the defaults with the Preferences... menu item.
-
- SCALE is defined as actual object size divided by screen size. (If actual object width
- is 12 inches and screen image width of object is 1 inch, the SCALE = 12.)
-
- Portions of the screen object can be isolated by using shift-click-drag to select only
- the portion of the object that is of interest. Place the cursor at the upper left corner
- of region of interest and shift-click-drag to lower right corner of interest.
-
- The results can be saved to disk as a PIC file.
-
- NOTE:
- 1. All BLACK or dark pixels are considered included in the object.
- All WHITE or light colored pixels are void. USE the provided MENU
- selection "MAKE ALL COLORS BLACK" or "COLOR EDITOR" to convert a
- colored object to BLACK prior to starting any calculations.
-
- 2. The apple CONTROL STRIP (control panel) or any other 3rd party floating
- windoid must be turned off or made invisible so as to not be included
- as part of your object.
-
- 3. The minor jagged edges of an image will be corrected. All screen images are constructed
- with square pixels making a perfect circle impossible to draw. One pixel jaggies
- will be corrected, but larger jaggies will go uncorrected. This is why the
- Area Properties calculated area of a 4" diameter circle screen image will not
- equal the exact 12.567 in^2, but will be 12.54 in^2 instead. The same goes for
- perimeter calculations.
-
-
- Who might find this application of value ?
-
- 1. Engineers
- 2. Scientists
- 3. Students
- 4. Architects
-
-
-
-
-
- coded by: William Weiss
- 2500 Ptarmigan Dr.#1
- Walnut Creek, CA. 94595
- USA
- email address: WWeissTuna@AOL.com
-
- Comments and suggestions are always welcomed. If you use this code a lot, please make
- a donation to your favorite charity, Thanks & I will look forward to your email .
-
-
-
-
- /* -------------------------------------------------------------------------------------------- */
- Version 3.3 (2/98)
- • Added image flip (horizontal & vertical) ability. AP Menu
- • Image collapse function (AP Menu) will first convert all image colors to black.
- • Fixed printing bug under Mac OS 8.1
- • Preferences... menu item will now be enabled after a (Edit menu) paste operation.
- /* -------------------------------------------------------------------------------------------- */
- Version 3.2 (4/97)
- • Preferences... menu item (File Menu) can now save default units, material, object scale
- and object depth.
- • Save As... menu item (File Menu) can save results as a PICT file to disk.
- • Maximum screen size that can be accommodated is now 1280 x 1280 pixels.
- • Will now work with a MATROX Millennium video card.
- • Added water to list of materials.
- • Just For Fun menu item will do 3D stuff if screen color set to thousands or millions
- or if greyscale (Monitors and Sound CONTROL PANEL).
- • Fixed a bug with the Shift Click Drag selection routine.
- • Images imported via the clipboard (Pasted) will be centered on the screen.
- /* -------------------------------------------------------------------------------------------- */
- Version 3.0 (11/96) has added radius of gyration. Also added COLOR EDITOR, which will
- allow selected colors of a color image to be converted to BLACK or deleted or isolated.
- Also added some fun stuff.
- /* -------------------------------------------------------------------------------------------- */
- Version 2.6 now is PPC/68K FAT and uses the Metrowerks C/C++ compiler. Also fixed a bug
- in the "MAKE ALL COLORS BLACK" routine.
-
-
-
-